package com.pozu.new_retail.dao.model;

import java.io.Serializable;

/**
 * 商品信息
 * @author chao
 * @date 2018年4月19日
 */
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer goodsId;

    /** 小程序类别 **/
    private Integer appId;
    
    /** 展示图片(首图) **/
    private String img;
    
    /** 分类 */
    private Integer categoryId;
    
    /** 商品原价 */
    private Double price;
    
    /** 商品实际价格 **/
    private Double goodsPrice;
    
    /** 销售类型0预售1在售2促销 **/
    private Integer saleType;
    
    /** 订金 **/
    private Double preDepoist;
    
    /** 最小预定量(大于等于这个数值预售成功,用户支付尾款否则退订金预售失败) **/
    private Integer preMinNumber;
    
    /** 预售开始时间 **/
    private Long preStartTime;
    
    /** 付尾款限制天数(尾款要多少天内付清) **/
    private Integer prePayLimitDays;
    
    /** 顶部滚动图 */
    private String slideImgs;
    
    /** 商品名称 */
    private String goodsName;
    
    /** 商品描述 **/
    private String goodsDesc;
    
    /** 商品详情 **/
    private String goodsDetails;
    
    /** 商品参数 **/
    private String goodsParams;

    /** 增加的虚拟销售数量 */
    private Integer addNumber;
    
    /** 上架时间 */
    private Long createdTime;
    
    /** 更新时间 */
    private Long updatedTime;
    
    /** 0上架1下架2删除 */
    private Integer state;
    
    /** 是否开启砍价默认0不开启1开启 **/
    private Integer discountFlag;
    
    /** 是否开启组团默认0不开启1开启 **/
    private Integer groupFlag;
    
    /** 商品编号 **/
    private String productId;

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getAppId() {
		return appId;
	}

	public void setAppId(Integer appId) {
		this.appId = appId;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Integer getSaleType() {
		return saleType;
	}

	public void setSaleType(Integer saleType) {
		this.saleType = saleType;
	}

	public Double getPreDepoist() {
		return preDepoist;
	}

	public void setPreDepoist(Double preDepoist) {
		this.preDepoist = preDepoist;
	}

	public Integer getPreMinNumber() {
		return preMinNumber;
	}

	public void setPreMinNumber(Integer preMinNumber) {
		this.preMinNumber = preMinNumber;
	}

	public Long getPreStartTime() {
		return preStartTime;
	}

	public void setPreStartTime(Long preStartTime) {
		this.preStartTime = preStartTime;
	}

	public Integer getPrePayLimitDays() {
		return prePayLimitDays;
	}

	public void setPrePayLimitDays(Integer prePayLimitDays) {
		this.prePayLimitDays = prePayLimitDays;
	}

	public String getSlideImgs() {
		return slideImgs;
	}

	public void setSlideImgs(String slideImgs) {
		this.slideImgs = slideImgs;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsDesc() {
		return goodsDesc;
	}

	public void setGoodsDesc(String goodsDesc) {
		this.goodsDesc = goodsDesc;
	}

	public String getGoodsDetails() {
		return goodsDetails;
	}

	public void setGoodsDetails(String goodsDetails) {
		this.goodsDetails = goodsDetails;
	}

	public String getGoodsParams() {
		return goodsParams;
	}

	public void setGoodsParams(String goodsParams) {
		this.goodsParams = goodsParams;
	}

	public Integer getAddNumber() {
		return addNumber;
	}

	public void setAddNumber(Integer addNumber) {
		this.addNumber = addNumber;
	}

	public Long getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}

	public Long getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Long updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getDiscountFlag() {
		return discountFlag;
	}

	public void setDiscountFlag(Integer discountFlag) {
		this.discountFlag = discountFlag;
	}

	public Integer getGroupFlag() {
		return groupFlag;
	}

	public void setGroupFlag(Integer groupFlag) {
		this.groupFlag = groupFlag;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}
    
}